<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
    "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
<html><head>
    <title>ComputingStrategyProtocol</title>
	<meta name="generator" content="HeaderDoc">
</head><body bgcolor="#ffffff"><h1><font face="Geneva,Arial,Helvtica">ComputingStrategyProtocol</font></h1><hr><br>
<h2>Abstract</h2>
ComputingStrategyProtocol declares different methods related to an algorithm's execution. An algorithme can be configure with some
data that represents the context, and can be executed. The result of the execution is then available.
<h2>Discussion</h2>
The purpose of this protocol is to offer the possibility to dynamically change the used strategy.
<hr><br><h2>Methods</h2>

<h3><a name="execute">execute</a></h3>
<b>Abstract:</b> Execute the algorithm.

<blockquote><pre><tt>- (id<SampleProtocol>)<B>execute;</B> </tt><br>
</pre></blockquote>
<p></p>
<b>Result:</b> The result of the algorithm's execution.

<hr>

<h3><a name="setModule:">setModule:</a></h3>
<b>Abstract:</b> This method set the context for the strategy.

<blockquote><pre><tt>- (void)<B>setModule:</B>(Module*)<I>aModule;</I> </tt><br>
</pre></blockquote>
<p></p>
<h4>Parameters</h4>
<blockquote>
<table border="1"  width="90%">
<thead><tr><th>Name</th><th>Description</th></tr></thead>
<tr><td align="center"><tt>aModule</tt></td><td>The context of the strategy</td></tr>
</table>
</blockquote>
<hr>
<p>(Last Updated 2/19/2010)
</p></body></html>
